package com.googlecode.mgwt.examples.showcase.client;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.googlecode.mgwt.examples.showcase.shared.ServiceCallDTO;
import com.googlecode.mgwt.examples.showcase.shared.exception.ElementExistsException;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("greet")
public interface GreetingService extends RemoteService {
	void createServiceCall(ServiceCallDTO serviceCall) throws ElementExistsException;
	List<ServiceCallDTO> getAllCalls(int buildingID);
	void remoceCall(long serviceCallID);
}
